package com.fujitsu.nanjing.tieba.dao;

import com.fujitsu.nanjing.tieba.ibator.CoreTopic;
import com.fujitsu.nanjing.tieba.ibator.CoreTopicCriteria;
import java.util.List;

public interface CoreTopicDAO {
    int countByExample(CoreTopicCriteria example);

    int deleteByExample(CoreTopicCriteria example);

    int deleteByPrimaryKey(Integer topicid);

    Integer insert(CoreTopic record);

    Integer insertSelective(CoreTopic record);

    List<CoreTopic> selectByExampleWithBLOBs(CoreTopicCriteria example);

    List<CoreTopic> selectByExampleWithoutBLOBs(CoreTopicCriteria example);

    CoreTopic selectByPrimaryKey(Integer topicid);

    int updateByExampleSelective(CoreTopic record, CoreTopicCriteria example);

    int updateByExampleWithBLOBs(CoreTopic record, CoreTopicCriteria example);

    int updateByExampleWithoutBLOBs(CoreTopic record, CoreTopicCriteria example);

    int updateByPrimaryKeySelective(CoreTopic record);

    int updateByPrimaryKeyWithBLOBs(CoreTopic record);

    int updateByPrimaryKeyWithoutBLOBs(CoreTopic record);
}